<!--<?php 
require_once template('header'); 
require_once template('left');
print <<<EOT
<!-- 右边开始 -->
	<div id="contrast" style="display:none;top:300px;">
		<div id="ContrastBox" class="wid">
			<p></p>
			<p></p>
		</div>
		<div class="pagebar"><img src="$imgpath/contrast.gif"  alt="$lang[contrast]" style="cursor:pointer" onclick="ContBegin()" /><img src="$imgpath/empty.gif"  style="cursor:pointer" onclick="ContClear()" /></div>
	</div>
	<script type="text/javascript" src="include/javascript/contrast.js"></script>
	
	<div id="right">
		<div id="location1"><p><b>$lang[location]</b>：$navigation </p></div>
		<div class="pro">
			$category_head
			<div class="nt"><dl>
				<dt><p>$cat_list[category_name] <!--<span>($total_count)</span>--></p></dt>				
<!--
EOT;
foreach ($tree_text as $val){
print <<<EOT
-->
				<dd>| <a href="$val[url]">$val[title]</a>$val[count]</dd>
<!--
EOT;
} print <<<EOT
-->				
			</dl></div>
						<p class="sl"><span style="float:right;">
			浏览模式：<a href="$price_url">$lang[buy_price]</a> &nbsp;| &nbsp;<a  href="$stock_url">$lang[stock]</a> &nbsp;| &nbsp;<a href="$date_url">$lang[regdate]</a></span>
			显示方式 <a href="$show_text"><img src="$imgpath/mode_text.gif" align="absmiddle" /></a> <a href="$show_grid"><img src="$imgpath/mode_grid.gif" align="absmiddle" /></a> <a href="$show_list"><img src="$imgpath/mode_act.gif" align="absmiddle" /></a>
			</p>
<!--
EOT;
foreach ($goods  as $val){
print <<<EOT
-->	
			<dl class="pro1">
				<dt><a href="$val[url]"><img src="$val[photo]" width="$cf_indexw" height="$cf_indexh" alt="$val[title]" /></a></dt>
				<dd><a href="$val[url]" title="$val[title]" >$val[subject]</a>$val[addoption] <span>$lang[goods_hit]： $val[goods_hit]</span></dd>
				<dd class="tn">$val[goods_advance]</dd>
				<dd><span style="float:right;"><a href="javascript:put_flow($val[uid],'C')" >$lang[buy]</a> | <a href="javascript:put_flow($val[uid],'S')" >$lang[wish]</a> | <a href="javascript:ContAdd('$val[subject]','$val[uid]','$val[goods_type]')"> $lang[contrast]</a></span>
				<span class="ss">$lang[marketprice]：<span>$val[goods_market_price]</span></span>
				<span class="sp">$lang[buy_price]：<span>$val[goods_sale_price]</span></span>
                </dd>
			</dl>
<!--
EOT;
} print <<<EOT
-->	
			$category_foot		
			<div class="page1">$lang[genus_total]<span>$total_count</span>$lang[entries]$lang[note] $page_list</div>
		</div>
		<div class="title_b"><p></p></div>
	</div>
	<!-- 右边结束 -->
<!--
EOT;
?>-->